package com.resou.reader.data.bookshelf.response;

/**
 * Created by ${Garrett} on 2018/11/27.
 * Contact me krouky@outlook.com
 */
public class BookShelfResponse<T> {

    /**
     * msg : SUCESS
     * code : 0
     * data : {"data":[{"readStatus":"未读","authorName":"爱读个书","whetherUpdate":3,"bookPic":"http://qidian.qpic.cn/qdbimg/349573/c_10002843803296503/180","bookName":"王者荣耀之上帝之眼","bookId":"10002843803296503yw"},{"readStatus":"未读","authorName":"月飘柔","whetherUpdate":3,"bookPic":"http://qidian.qpic.cn/qdbimg/349573/c_10000064403000003/180","bookName":"我的名字叫钢索","bookId":"10000064403000003yw"}]}
     */

    private String msg;
    private int code;
    private T data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

//    public static class DataBeanX {
//        private List<DataBean> data;
//
//        public List<DataBean> getData() {
//            return data;
//        }
//
//        public void setData(List<DataBean> data) {
//            this.data = data;
//        }
//    }
}
